<fieldset>
  <legend>Tools</legend>
  <div class="general-form">
    <% form_for(@xml_doc, :url => {:action => 'extract_shims'}, :html => {
        :multipart => true}) do |f| %>
      <%= f.error_messages %>
      <div>
        <%= label_tag "Extract Shims From Workflow File: " %>
        <%= file_field_tag :input_file %><br /><br /><br />
        <%= f.submit 'Extract', :disable_with => "Extracting..." %>
      </div>
      <br/>
    <% end %>
    <br/><hr><br/>
    <% form_for(@xml_doc, :url => {:action => 'remote_mine'}, :html => {
        :multipart => true}) do |f| %>
      <%= f.error_messages %>
      <div>
        <%= label_tag "Extract Shims From Workflow File at URL: " %>
        <%= text_field_tag :file_uri, "http://www.myexperiment.org/workflows/workflowID/download", :size => 60 %><br /><br /><br />
        <%= f.submit 'Extract', :disable_with => "Extracting" %>
      </div>
      <br/>
    <% end %>
    <br/>
  </div>
</fieldset>